package com.ccp.dev.qbdms.dao;

import com.ccp.dev.core.basic.base.IBaseMapper;
import com.ccp.dev.core.basic.web.query.QueryFilter;
import com.ccp.dev.qbdms.model.WQbdDpaInfo;
import com.ccp.dev.qbdms.model.WQbdFailureAnalysisInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 失效分析 信息数据库操作类
 *
 * @author zzy
 * @date 2020-07-07 10:43:27
 */
@Mapper
public interface WQbdFailureAnalysisInfoDao extends IBaseMapper<WQbdFailureAnalysisInfo,String> {

    List<WQbdFailureAnalysisInfo> queryAll(QueryFilter queryFilter);

    /**
     * 获取上报信息
     * @param dataId
     * @param tableName
     * @return
     */
    public List<WQbdFailureAnalysisInfo> reportList(@Param("dataId") String dataId, @Param("tableName") String tableName);

}
